/*
 * @Descripttion: 
 * @Author: 银河以北
 * @Date: 2021-06-11 20:47:50
 * @LastEditors: 银河以北
 * @LastEditTime: 2021-10-04 16:22:01
 */
const getters = {

    //获取用户token
    token: (state: any) => state.user.token,

    //获取用户信息
    userInfo: (state: any) => state.user.info,

    //获取主题样式
    globalTheme: (state: any) => state.theme.theme,

    //获取长连接设备ID
    getSocketClientId: (state: any) => state.scoket.clientId

}

export default getters